home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15934 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: cc.gatech.edu!griswold
  2. From: griswold@cc.gatech.edu (Paul Griswold)
  3. Newsgroups: comp.lang.c++
  4. Subject: problem using TComboBox in OWL
  5. Date: 8 Apr 1996 22:45:29 GMT
  6. Organization: College of Computing, Georgia Tech
  7. Message-ID: <4kc4u9$hog@solaria.cc.gatech.edu>
  8. NNTP-Posting-Host: felix.cc.gatech.edu
  9. NNTP-Posting-User: griswold
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. I'm having a very strange problem using TComboBox with Borland C++ 4.52.
  13. I created a dialog box with Resource Workshop and in the dialog box I 
  14. made a combo box called COMBO_BOX (I know, really original!)  The problem
  15. is that I can't get the combo box to display any of the data I put into
  16. it using AddString.
  17.  
  18. I created a class inherited from TDialog.  I newed the TComboBox and am trying
  19. to stuff data in in using a modified SetupWindow.  When I use
  20. TComboBox's GetItemCount(), it reports that the strings I am trying to put in
  21. the combo box are in fact there.  However, when I press on the little
  22. down-arrow thing on the combo box, the ist comes up blank!
  23.  
  24. If anyone has any suggestions on what I'm doing wrong, please let me know.
  25. E-mail responses are preferable to newsgroup follow-ups.
  26.  
  27. Thanks in advance!
  28.  
  29. --
  30. =====   Paul Griswold  (griswold@cc.gatech.edu)  =====
  31.